package xerr

// OK 成功返回
const OK uint32 = 200

/**(前3位代表业务,后三位代表具体功能)**/

// SERVER_COMMON_ERROR 全局错误码
const SERVER_COMMON_ERROR uint32 = 100001
const REUQEST_PARAM_ERROR uint32 = 100002
const TOKEN_EXPIRE_ERROR uint32 = 100003
const TOKEN_GENERATE_ERROR uint32 = 100004
const DB_ERROR uint32 = 100005
const DB_UPDATE_AFFECTED_ZERO_ERROR uint32 = 100006
const USER_LOGIN_EXPIRED uint32 = 100100

//用户模块
const illegal_token uint32 = 50008
const other_clients_logged uint32 = 50012
const token_expired uint32 = 50014
